#ifndef _SCHEDULE_H
#define _SCHEDULE_H

#include "board.h"

typedef struct _schedule {
    uint16_t   cnt_1ms;
    uint16_t   cnt_2ms;
    uint16_t   cnt_5ms;
    uint16_t   cnt_10ms;
    uint16_t   cnt_20ms;
    uint16_t   cnt_50ms;
} schedule;

void Loop_1000Hz(void);
void Loop_500Hz(void);
void Loop_200Hz(void);
void Loop_100Hz(void);
void Loop_50Hz(void);
void Loop_20Hz(void);

void Loop(schedule* robotSchdule);


#endif
